home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
misc
/
math
/
MathFX_src.lha
/
fxerx1.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-12-20
|
432b
|
22 lines
/* Plots single horizontal error bar */
#include "mathfx.h"
#include <math.h>
void fxerx1(xmin,xmax,y)
float xmin, xmax, y;
{
float mindef, minht, xpmm, ypmm;
int yminor;
gmin(&mindef,&minht);
gpixmm(&xpmm,&ypmm);
yminor = max(1.0,minht*ypmm);
movwor(xmin,y);
fxxtik(wcpcx(xmin),wcpcy(y),yminor,yminor);
drawor(xmax,y);
fxxtik(wcpcx(xmax),wcpcy(y),yminor,yminor);
}